#include <iostream>
#include "vectorfunctions.h"
void descsortASCII(char x[], int l)
{
	int i, j, aux;
	for(i=1; i<l; ++i){
		aux=x[i];
		j=i-1;
		while (aux>x[j] && j>=0){
			x[j+1]=x[j];
			--j;
		}
		x[j+1]=aux;
	}
			
}

int main()
{
	int l;
	char a[100];
	cout<<"Length of array a : ";
	cin>>l;
	readVector(a, l);
	descsortASCII(a, l);
	printVector(a, l);
return 0;
}

